package com.tlxch.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.Date;

public class SHabit {
    private Integer shId;

    private String shSid;

    private String shFrequency;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime shCreatetime;

    private String shDuration;

    private String shHcontent;

    private String shTid;

    public String getShTid() {
        return shTid;
    }

    public void setShTid(String shTid) {
        this.shTid = shTid;
    }

    public Integer getShId() {
        return shId;
    }

    public void setShId(Integer shId) {
        this.shId = shId;
    }

    public String getShSid() {
        return shSid;
    }

    public void setShSid(String shSid) {
        this.shSid = shSid == null ? null : shSid.trim();
    }

    public String getShFrequency() {
        return shFrequency;
    }

    public void setShFrequency(String shFrequency) {
        this.shFrequency = shFrequency == null ? null : shFrequency.trim();
    }

    public LocalDateTime getShCreatetime() {
        return shCreatetime;
    }

    public void setShCreatetime(LocalDateTime shCreatetime) {
        this.shCreatetime = shCreatetime;
    }

    public String getShDuration() {
        return shDuration;
    }

    public void setShDuration(String shDuration) {
        this.shDuration = shDuration == null ? null : shDuration.trim();
    }

    public String getShHcontent() {
        return shHcontent;
    }

    public void setShHcontent(String shHcontent) {
        this.shHcontent = shHcontent == null ? null : shHcontent.trim();
    }
}